﻿using Microsoft.Extensions.Configuration;

namespace MiniFox.Exceptions.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class GroupConfig
    {
        /// <summary>
        /// 
        /// </summary>
        public GroupConfig() 
        {
            this.HttpCode = "400";
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("name")]
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("httpCode")]
        public string HttpCode
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("descriptions")]
        public ExceptionDescriptionSettingCollection Descriptions
        {
            get;
            set;
        }
    }
}
